package model

type SearchFastMail struct {
	OrderNo string `json:"order_no" v:"order_no@required#请输入订单号"`
	Com     string `json:"com" v:"com@required#请输入快递公司名称"`
	Num     string `json:"num" v:"num@required#请输入快递单号"`
	Phone   string `json:"phone" v:"num@required#请输入手机号"`
	Types   string `json:"types"`
}
type ReqFastMail struct {
	Id        int    `json:"id"`
	Message   string `json:"message"`
	Nu        string `json:"nu"`
	Ischeck   string `json:"ischeck"`
	Condition string `json:"condition"`
	Com       string `json:"com"`
	Status    string `json:"status"`
	State     string `json:"state"`
	Data      any    `json:"data"`
	Types     string `json:"types"`
}
type NotifyFastMailReq struct {
	Sign  string         `form:"sign"`
	Param NotifyFastMail `form:"param"`
}
type NotifyFastMail struct {
	Status     string `form:"status"`
	Message    string `form:"message"`
	LastResult struct {
		Message string                   `form:"message"`
		Nu      string                   `form:"nu"`
		Ischeck string                   `form:"ischeck"`
		Com     string                   `form:"com"`
		Status  string                   `form:"status"`
		State   string                   `form:"state"`
		Data    []map[string]interface{} `form:"data"`
		Loop    bool                     `form:"loop"`
	} `form:"lastResult"`
}
